<?php

namespace app\model;

use support\Model;

/**
 * 地址模型
 * 
 * 对应数据库表: address
 * 
 * 字段说明:
 * - user_id: 用户ID
 * - name: 收货人
 * - phone: 收货人电话
 * - province: 省份
 * - city: 城市
 * - district: 区县
 * - detail: 详细地址
 * - is_default: 是否默认地址
 * - created_at: 创建时间
 * - updated_at: 更新时间
 * 
 * @package app\model
 */

class AddressModel extends Model
{
    /**
     * The table associated with the model.
     *
     * @var string
     */
    protected $table = 'address';

    /**
     * The primary key associated with the table.
     *
     * @var string
     */
    protected $primaryKey = 'id';

    /**
     * Indicates if the model should be timestamped.
     *
     * @var bool
     */
    public $timestamps = false;


}